package com.gmail.avereshchaga.cashierdeskconnect;

import java.io.IOException;
import org.apache.http.client.ClientProtocolException;

/**
 *
 * @author <a href="mailto:avereshchaga@gmail.com">Vereshchaga Alexey</a>
 */
public interface CashierDeskConnect {

    public String callServer(String host, String username, String password) throws IOException;

    public void closeSession(String username, String password) throws ClientProtocolException, IOException;

    public String getSessionId();

    public void setSessionId(String sessionId);

    public String getAccessLevel();

    public void setAccessLevel(String accessLevel);

    public String getHost();

    public void setHost(String host);
}
